package com.myapp.tools.configbuilder;

import java.io.File;

import com.myapp.tools.bean.ToolsConfig;
import com.myapp.tools.interfaces.ITool;

public class Config implements ITool {

	@Override
	public String getDescribe() {
		return "自动生成配置文件bean";
	}

	@Override
	public boolean run(String[] args) {
		String path = ToolsConfig.appToolsConfigBean.getBase_Path() + "/"
				+ ToolsConfig.appToolsConfigBean.getConfig_Path();
		ConfigParse config = new ConfigParse();
		config.parsePath(new File(path));
		return true;
	}

}
